Accessible GLSL Shader Programming

نویسندگان

  • Antoine Toisoul
  • Daniel Rueckert
  • Bernhard Kainz
چکیده

Teaching fundamental principles of Computer Graphics requires a thoroughly prepared lecture alongside practical training. Modern graphics programming rarely provides a straightforward application programming interface (API) and the available APIs pose high entry barriers to students. Shader-based programming of standard graphics pipelines is often inaccessible through complex setup procedures and convoluted programming environments. In this paper we discuss an undergraduate entry level lecture with its according lab exercises. We present a programming framework that makes interactive graphics programming accessible while allowing to design individual tasks as instructive exercises to solidify the content of individual lecture units. The discussed teaching framework provides a well defined programmable graphics pipeline with geometry shading stages and image-based post processing functionality based on framebuffer objects. It is open-source and available online.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Shader Programming for Computational Arts and Design - A Comparison between Creative Coding Frameworks

We describe an Application Program Interface (API) that facilitates the use of GLSL shaders in computational design, interactive arts, and data visualization. This API was first introduced in the version 2.0 of Processing, a programming language and environment widely used for teaching and production in the context of media arts and design, and has been recently completed in the 3.0 release. It...

متن کامل

Efficient Computational Noise in GLSL

We present GLSL implementations of Perlin noise and Perlin simplex noise that run fast enough for practical consideration on current generation GPU hardware. The key benefits are that the functions are purely computational, i.e. they use neither textures nor lookup tables, and that they are implemented in GLSL version 1.20, which means they are compatible with all current GLSL-capable platforms...

متن کامل

ShaderBase: A Processing Tool for Shaders in Computational Arts and Design

We introduce a new software tool called ShaderBase that facilitates using, sharing, and curating GLSL shaders in computational design, interactive arts, and data visualization. This tool is part of the Processing programming environment, an open-source project widely used for teaching and production in the context of media arts and design. Shaders are a crucial component in the development of l...

متن کامل

Implementing a Photorealistic Rendering System using GLSL

Ray tracing on GPUs is becoming quite common these days. There are many publicly available documents on how to implement basic ray tracing on GPUs for spheres and implicit surfaces. We even have some general frameworks for ray tracing on GPUs. We however hardly find details on how to implement more complex ray tracing algorithms themselves that are commonly used for photorealistic rendering. Th...

متن کامل

Shading Language Overview

Programmable Graphics Processing Units (GPUs) have become widespread. They now support floating-point computations and general programming models. A shading language is a domain-specific programming language for specifying shading computations. In this section of the course notes, we will review several high-level real-time shading languages for programming modern GPUs. These languages have evo...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2017